﻿<%@ Control Language="C#" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<table class="gridtable" width="80%">
    <tr>
        <td style="width: 10%">
            待委托流程
        </td>
        <td style="width: 30%">
            <asp:DropDownList ID="ddlProcessName" runat="server" Width="100%">
            </asp:DropDownList>
        </td>
        <td style="width: 10%">
            委托给
        </td>
        <td style="width: 50%">
            <asp:DropDownList ID="ddlUnit" runat="server" Width="30%" AutoPostBack="True">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlDep" runat="server" Width="30%" AutoPostBack="True">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlUserName" runat="server" Width="30%">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td style="width: 10%" nowrap="noWrap">
            委托开始时间
        </td>
        <td style="width: 30%">
            <CBW:MPCalendar id="startDate" runat="server" style="width: 70%" maxlength="20" readonly="false"
                timeusing="true" />
        </td>
        <td style="width: 10%" nowrap="noWrap">
            委托结束时间
        </td>
        <td style="width: 50%">
            <CBW:MPCalendar id="endDate" runat="server" style="width: 70%" maxlength="20" timeusing="true" />
        </td>
    </tr>
    <tr>
        <td colspan="6" align="right">
            &nbsp;
            <asp:Button Text="新增委托" ID="btnUpdate" class="input" runat="server" />
        </td>
    </tr>
    <tr>
        <td colspan="6" style="text-align: center">
            本人委托历史记录
        </td>
    </tr>
    <tr>
        <td colspan="4" style="height: 25px">
            <CBW:CustomGridView ID="gv" runat="server" DataKeyNames="ID" AutoGenerateColumns="False"
                BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" Width="100%" >
                <Columns>
                    <asp:BoundField HeaderText="委托人" DataField="UserName" />
                    <asp:BoundField DataField="delegate_UserName" HeaderText="被委托人" />
                    <asp:BoundField DataField="delegate_task" HeaderText="委托的业务" />
                    <asp:BoundField DataField="begin_time" HeaderText="开始时间" />
                    <asp:BoundField DataField="end_time" HeaderText="开始时间" />
                    <asp:TemplateField HeaderText="删除" ShowHeader="False">
                        <ItemTemplate>
                            <asp:LinkButton ID="ImageButton1" runat="server" CausesValidation="false" CommandName="Delete"
                                CommandArgument='<%#DataBinder.Eval(Container.DataItem,"ID")%>' Text="删除" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </CBW:CustomGridView>
        </td>
    </tr>
</table>
